// 后台页面样式

html
body
    height 100%
    overflow hidden

ul
    margin-top 0


.admin-icon-yellow
    color: #ffbe40;

.admin-header
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1500;
    font-size: .14rem;
    margin-bottom: 0;

.admin-header-list
    a:hover:after
        content: none

.admin-main
    position: relative;
    height: 100%;
    padding-top: 51px;
    background: #f3f3f3;

.admin-menu
    position: fixed;
    z-index: 10;
    bottom: 30px;
    right: 20px;

.admin-sidebar
    width: 260px;
    min-height: 100%;
    float: left;
    border-right: 1px solid #cecece;

.admin-sidebar.am-active
    z-index: 1600;

.admin-sidebar-list
    margin-bottom: 0;

.admin-sidebar-list li a
    color: #5c5c5c;
    padding: .1rem 0 .1rem .24rem;

.admin-sidebar-list li:first-child
    border-top: none;

.admin-sidebar-sub
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: 0 16px 8px -15px #e2e2e2 inset;
    background: #ececec;
    padding-left: 24px;

.admin-sidebar-sub li:first-child
    border-top: 1px solid #dedede;

.admin-sidebar-panel
    margin: 10px;

.admin-content
    display -webkit-box;
    display -webkit-flex;
    display -ms-flexbox;
    display flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background: #fff;

.admin-content
.admin-sidebar
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;

.admin-content-body
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;

.admin-content-footer
    font-size: 85%;
    color: #777;

.admin-content-list
    border: 1px solid #e9ecf1;
    margin-top: 0;

.admin-content-list li
    border: 1px solid #e9ecf1;
    border-width: 0 1px;
    margin-left: -1px;

.admin-content-list
    li:first-child
        border-left: none;
    li:last-child
        border-right: none;

.admin-content-table a
    color: #535353;

.admin-content-file
    margin-bottom: 0;
    color: #666;

.admin-content-file
    p
        margin: 0 0 5px 0;
        font-size: .14rem;
    li
        padding: 10px 0;
        &:first-child
            border-top: none;
        &:last-child
            border-bottom: none;
        .am-progress
            margin-bottom: 4px;
        .am-progress-bar
            line-height: 14px;

.admin-content-comment
    margin-bottom: 0;

.admin-content-comment .am-comment-bd
    font-size: .14rem;

@media only screen and (min-width: 641px)
    .admin-sidebar
        display: block;
        position: static;
        background: none;

    .admin-offcanvas-bar
        position: static;
        width: auto;
        background: none;
        -webkit-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        overflow-y: visible;
        min-height: 100%;
        &:after
            content: none;

@media only screen and (max-width: 640px)
    .admin-sidebar
        width: inherit;

    .admin-offcanvas-bar
        background: #f3f3f3;
        &:after
            background: #BABABA;

    .admin-sidebar-list
        a:hover
        a:active
            -webkit-transition: background-color .3s ease;
            -moz-transition: background-color .3s ease;
            -ms-transition: background-color .3s ease;
            -o-transition: background-color .3s ease;
            transition: background-color .3s ease;
            background: #E4E4E4;

        li
            padding: 10px;
            border-width: 1px 0;
            margin-top: -1px;
            &:first-child
                border-top: none;
            &:last-child
                border-bottom: none;

    .admin-form-text
        text-align: left !important;

.user-info
    margin-bottom: 15px;
    p
        margin: 5px;
    .am-progress
        margin-bottom: 4px;

.user-info-order
    font-size: .14rem;

// errorLog.html css
.error-log .am-pre-scrollable
    max-height: 4rem;

// table.html
.table-main
    font-size: .14rem;
    padding: .05rem;
    button
        background: #fff;
    tr
        .am-btn-toolbar
            visibility hidden
        &:hover
            .am-btn-toolbar
                visibility visible

.table-check
    width: 30px;

.table-id
    width: 50px;

@media only screen and (max-width: 640px)
    .table-select
        margin-top: 10px;
        margin-left: 5px;
